<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"+ request.getServerName() + ":" + request.getServerPort()+ path + "/";
	request.setAttribute("path", basePath);
%>
<!DOCTYPE html>
<html>

<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>注册</title>
    <link rel="shortcut icon" href="favicon.ico"> <link href="css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="css/font-awesome.css?v=4.4.0" rel="stylesheet">
    <link href="css/plugins/iCheck/custom.css" rel="stylesheet">
    <link href="css/plugins/sweetalert/sweetalert.css" rel="stylesheet">
    <link href="css/animate.css" rel="stylesheet">
    <link href="css/style.css?v=4.1.0" rel="stylesheet">
    <script>if(window.top !== window.self){ window.top.location = window.location;}</script>
</head>

<body class="gray-bg">
    <div class="middle-box text-center loginscreen animated fadeInDown">
        <div>
            <div>
                <h1 class="logo-name">C</h1>
            </div>
            <h3>欢迎注册云平台</h3>
            <p>创建一个新账户</p>
            <form class="form-horizontal m-t" id="registerForm">
            	 <div class="form-group">
                	<input type="hidden" name="type" value="1">
                    <input type="text" name="name" id="name" class="form-control" placeholder="请输入您的真实姓名">
                </div>
            	<div class="form-group">
                    <input type="text" name="username" id="username" class="form-control" placeholder="请输入用户名">
                </div>
                <div class="form-group">
                    <input type="text" name="phone" id="phone" class="form-control" placeholder="请输入手机号">
                </div>
                <div class="form-group">
                    <div class="input-group">
                       <input type="text" name="checkNum" id="checkNum" class="form-control" placeholder="请输入验证码"> 
	               		<span class="input-group-btn">
	               			<button type="button" id="checkNumBtn" class="btn btn-outline btn-warning">获取验证码</button>
	               		</span>
                   </div>
                </div>
                <div class="form-group">
                    <input type="password" name="password" id="password" class="form-control" placeholder="请输入密码" required="">
                </div>
                <div class="form-group">
                    <input type="password" name="repassword" id="repassword" class="form-control" placeholder="请再次输入密码" required="">
                </div>
                <button type="button" id="registerBtn" class="btn btn-primary block full-width m-b">注 册</button>
                <p class="text-muted text-center"><small>已经有账户了？</small><a href="../admin/loginpage">点此登录</a>
                </p>
            </form>
        </div>
    </div>

    <!-- 全局js -->
    <script src="js/jquery.min.js?v=2.1.4"></script>
    <script src="js/bootstrap.min.js?v=3.3.6"></script>
  	<script src="../h/js/plugins/validate/jquery.validate.min.js"></script>
    <script src="../h/js/plugins/validate/messages_zh.min.js"></script>
    <script src="js/plugins/sweetalert/sweetalert.min.js"></script>
 	<script src="../h/js/admin/register.js"></script>
</body>

</html>
